package hu;

import java.util.*;

public class hu66 {
    public static void main(String[] args) {
        String[] key = new String[6];
        String[] value = new String[6];
        key[0] = "reset";
        value[0] = "reset what";
        key[1] = "reset board";
        value[1] = "board fault";
        key[2] = "board add";
        value[2] = "where to add";
        key[3] = "board delete";
        value[3] = "no board at all";
        key[4] = "reboot backplane";
        value[4] = "impossible";
        key[5] = "backplane abort";
        value[5] = "install first";
        Scanner sc = new Scanner(System.in);
        while(sc.hasNextLine()){
            String command = sc.nextLine();
            if(!command.contains(" ")){
                if("reset".startsWith(command))
                    System.out.println("reset what");
                else
                    System.out.println("unknown command");
            }
            else{
                String[] com = command.split(" ");
                int f = 0;
                int ans = 0;
                int num = 0;
                for (int i = 1; i < 6; i++) {
                    String[] ss = key[i].split(" ");
                    if(ss[0].startsWith(com[0]) && ss[1].startsWith(com[1])){
                        f = 1;
                        ans = i;
                        num++;
                    }
                }
                if(num == 1)
                    System.out.println(value[ans]);
                if(f == 0 || num != 1)
                    System.out.println("unknown command");
            }
        }
    }
}
/*
reset
reset board
board add
board delet
reboot backplane
backplane abort

r b
b a
bo a
reb
r
res
 */